package J11_2;

public class sadf {
    public static void main(String[] args) {
        int n = 200;
        int m = 20;

        System.out.println(n + " " + m);

        // 生成100×100的网格数据
        for (int i = 0; i < n; i++) {
            StringBuilder row = new StringBuilder();
            for (int j = 0; j < n; j++) {
                // 可以根据需要调整生成规则
                if ((i + j) % 2 == 0) {
                    row.append('#');
                } else {
                    row.append('.');
                }
            }
            System.out.println(row.toString());
        }
    }
}

